package com.xh.lesson.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.lesson.entity.SysFun;
import com.xh.lesson.vo.req.FunAddReqVO;
import com.xh.lesson.vo.req.FunUpdateReqVO;
import com.xh.lesson.vo.req.HomeAddReqVO;
import com.xh.lesson.vo.resp.DepartChart;
import com.xh.lesson.vo.resp.EnterpriseChart;
import com.xh.lesson.vo.resp.FunChart;
import com.xh.lesson.vo.resp.FunUseChart;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 柴&许
 * @since 2021-07-01
 */

public interface SysFunService extends IService<SysFun> {
    SysFun selectFunById(Integer id);
    void edit(FunUpdateReqVO vo);
    SysFun addFun(HomeAddReqVO vo);
    SysFun soloAddFun(FunAddReqVO vo);
    void deleteFun(Integer fid);
    List<FunChart> selectFunChart();
    List<FunUseChart> selectFunUseChart();
    List<DepartChart> selectDepartChart();
    List<EnterpriseChart> selectEnterpriseChart();
}
